package cc.mcggdd.leah.boot.stock.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cc.mcggdd.leah.boot.stock.model.entity.StockDebt;
import cc.mcggdd.leah.boot.stock.model.form.StockDebtForm;

/**
 * 负债管理对象转换器
 *
 * @author 
 * @since 2025-02-10 11:15
 */
@Mapper(componentModel = "spring")
public interface StockDebtConverter{

    StockDebtForm toForm(StockDebt entity);

    StockDebt toEntity(StockDebtForm formData);
}